
/** A wrapper for running tests. The test must have a label, a function to setup the necessary environment for the test, and a function to run the actual test. The test should return 0 if it passed and 1 if it failed. */
void wg_test(void (*)(void), char *, int(*)(void));

/** Check if a value matches a target value within some threshold. */
int test_matches_val(double, double, double);
